home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DIAGTOOL / X10XA2.ZIP;1 / XA.INI < prev    next >
Encoding:
Text File  |  1994-08-14  |  10.0 KB  |  228 lines

  1. DISPLAY OFF             # We don't need to display this on the screen
  2. #
  3. #  ⁄ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒø
  4. #  ≥                                                                 ≥
  5. #  ≥   XA  -  X10 Command Interpreter for the CP-290 - Version 2.3.  ≥
  6. #  ≥   Copyright 1991-94 by Bruce Christensen. All Rights Reserved.  ≥
  7. #  ≥                                                                 ≥
  8. #  ≥   XA.INI - This file contains information that defines XA's     ≥ 
  9. #  ≥            run-time environment parameters. You may edit this   ≥
  10. #  ≥            to suit your application needs.                      ≥
  11. #  ≥                                                                 ≥
  12. #  ¿ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒŸ
  13. #
  14. #ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ
  15. #
  16. #       XACMD           Use this token to specify the default command file
  17. #                       that XA will use each time it is run without command 
  18. #                       line parameters. 
  19. #
  20. #                       SPECIAL NOTE: If this token is not used, and no
  21. #                       command file is specified, XA will display the
  22. #                       help file instead. This is the default condition.
  23. #                       
  24.  
  25. # XACMD XA.CMD          # Remove the first "#" comment character if you
  26.                         # wish to have XA read XA.CMD as the default 
  27.                         # command file.
  28.  
  29.  
  30. #
  31. #ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ
  32. #
  33. #       COMx            The serial communications port you will be using
  34. #                       to talk to the computer interface.
  35. #                       Choices: COM1 (default), COM2, COM3, and COM4.
  36.  
  37. COM1
  38.  
  39. #       IRQ x           Use these tokens if your serial port is not configured
  40. #       IO  xxxH        as a "standard" port. The following table lists the
  41. #                       most common assignments for IRQ's and IO port 
  42. #                       addresses:
  43. #                               COM     IRQ     IO
  44. #                               ==========================
  45. #                                1       4      3F8H (hex)
  46. #                                2       3      2F8H
  47. #                                3       4 *    3E8H
  48. #                                4       3 *    2E8H   
  49. #
  50. #
  51. #                       Since COM1 and COM3 (as well as COM2 and COM4) share
  52. #                       the same IRQ's, a conflict will arise if active 
  53. #                       devices are attached to these ports. You must re-
  54. #                       assign IRQ's so to avoid a potential deadlock. A 
  55. #                       serial port may be reconfigured either during your
  56. #                       computers boot phase (BIOS setup/diagnostics) or
  57. #                       by changing a DIP switch on the serial card or PC
  58. #                       motherboard. When you changed the IRQ, tell XA by
  59. #                       using the IRQ x command.
  60. #
  61. #                       If you can't dedicate an IRQ for the CP-290 you may
  62. #                       still be able to run XA in "polling" mode. 
  63. #                       Use either IRQ 0 or "i=0" to initiate polling. 
  64. #
  65. #                       Use the utility FINDX10.EXE to assist you in
  66. #                       determining the IRQ and IO values.
  67. #
  68. #IRQ 4                  # ... for interrupt-driven communications.
  69. IRQ 0                   # ... for polling communications.
  70. #
  71. #ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ
  72. #
  73. #       LATITUDE        You must use this command for accurate
  74. #                       sunrise/sunset calculations. Positive values
  75. #                       are used in the northern hemisphere, negative
  76. #                       values for the southern hemisphere.
  77. #       LONGITUDE       You must use this command for accurate
  78. #                       sunrise/sunset calculations. Positive values
  79. #                       are used west of Greenwich, negative
  80. #                       east of Greenwich.
  81. #                       These values may be obtained from almost any
  82. #                       almanac, or consult your nearest library.
  83. #                       For Mentor, OH:
  84. #                               Latitude  = 41¯35'
  85. #                               Longitude = 81¯20'
  86. #                        
  87. #                       These values must be expressed as follows:
  88. #                       41d35m and 81d20m (or 41¯35' / 81¯20')
  89.  
  90. LATITUDE  41¯35'20"
  91. LONGITUDE 81¯20'45"
  92.  
  93. #
  94. #ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ
  95. #
  96. #       TIMEZONE        Exact time calculations depend on the local time.
  97. #                       Use the following chart to determine your timezone:
  98. #                                  Zone                   Use
  99. #                             ====================     =========
  100. #                             Eastern Standard Time:        5
  101. #                             Central Standard Time:        6
  102. #                             Mountain Standard Time:       7
  103. #                             Pacific Standard Time:        8
  104. #                             Alaska/Hawaii Std Time:      10
  105. #                             Aleutian Standard Time:      11
  106. #
  107. #                       Use negative values for timezones east of Greenwich.
  108. #
  109. #
  110. #
  111. #       DST             Automatically adjust Sunrise/Sunset calculations.
  112. #                       Do not use this if your locality does not observe
  113. #                       Daylight Savings Time.
  114.  
  115. TIMEZONE 5 DST
  116.  
  117. #LATITUDE  -33¯53'      # Sydney, Australia 
  118. #LONGITUDE -151¯10'     # ...tests negative coordinates.
  119. #TIMEZONE  -10
  120. #
  121. #ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ
  122. #       VIDEO1 - Text attributes when IF/ELSE expression evaluates TRUE.
  123. #       VIDEO2 - Text attributes when IF/ELSE (or DATE/THRU/EXCEPT) 
  124. #                expression evaluates FALSE.
  125. #       VIDEO3 - Text attributes when executing DIRECT command.
  126. #       VIDEO4 - Text attributes when sending an EVENT.
  127. #       VIDEO5 - Text attributes for important XA messages.
  128. #       VIDEO6 - Text attributes for comments or other supplemental cmds.
  129. #
  130. #
  131. #       The format of the VIDEOx statement is:
  132. #
  133. #       { VIDEOx Foreground Background }
  134. #
  135. #         where FOREGROUND may be any of the following:
  136. #           BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, BROWN, LIGHTGRAY,
  137. #           DARKGRAY, LIGHTBLUE, LIGHTGREEN, LIGHTCYAN, LIGHTRED,
  138. #           LIGHTMAGENTA, YELLOW, WHITE
  139. #      
  140. #         and BACKGROUND may be any of the following:
  141. #           BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, BROWN, LIGHTGRAY
  142. #      
  143.  
  144. VIDEO1 GREEN BLACK         # For TRUE expressions
  145. VIDEO2 RED BLACK           # For FALSE expressions
  146. VIDEO3 YELLOW BLACK        # For DIRECT COMMANDS
  147. VIDEO4 CYAN BLACK          # For EVENTS
  148. VIDEO5 WHITE BLACK         # For XA Messages
  149. VIDEO6 GREY BLACK          # For Supplemental statements (comments)
  150.  
  151. #ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ
  152. #
  153. #       DEFINES         Are used to substitute several identifiers. 
  154. #                       They help make the commands more understandable. 
  155.  
  156. define Deck_Lights_1            house a unit 1 
  157. define Security_Lights          house a unit 2
  158. define Bedroom_Light            house a unit 3 
  159. define Family_Room_Lamp         house a unit 4
  160. define Back_Porch               house a unit 5
  161. define Outside_Porch_Lights     house a unit 6 
  162. define Fireplace_Mantle         house a unit 7
  163. define Living_Room_Lamp         house a unit 8
  164. define Deck_Lights_2            house a unit 9 
  165. define Grow_Lights              house b unit 1
  166. define Computer                 house c unit 1
  167. define Hourly_Chime             house c unit 2
  168. define Phone                    house c unit 3
  169. define Christmas_Porch          house c unit 4
  170. define Christmas_Pines          house c unit 5  
  171. define Christmas_Lights         Christmas_Porch Christmas_Pines
  172. define Deck_Lights_3            house c unit 5
  173. define Kathryns_PC              house c unit 8
  174. define Stairs                   house h unit 1
  175. define Hallway                  house h unit 2
  176. define Dehumidifier             house h unit 3
  177. define Spotlight                house D unit 16
  178. define Plant_Watering           house P unit 1
  179.  
  180. DEFINE THANKSGIVING             DATE 11/24/94
  181. DEFINE CHRISTMAS                DATE 12/25/94
  182. DEFINE NEW_YEARS_EVE            DATE 12/31/94
  183. DEFINE NEW_YEARS_DAY            DATE 1/1/95
  184.  
  185. #      Christmas Lights - each color connected to its own dimmer
  186. #      Note: You don't have to use HOUSE x UNIT y as shown above.
  187. #            That is only useful during monitoring and report generation. 
  188. #            You can perform simple substitution with just the letter/numbers:
  189. #
  190. #      Note: The command file XMAS.CMD makes use of the following defines.
  191. #
  192. DEFINE XMAS_RED                  K1
  193. DEFINE XMAS_GREEN                L1
  194. DEFINE XMAS_BLUE                 N1
  195. DEFINE XMAS_WHITE                O1
  196.  
  197. #       Other useful defines...
  198.  
  199. DEFINE DUSK SUNSET OFFSET 0:30
  200. DEFINE DAWN SUNRISE OFFSET -0:30
  201. DEFINE DAILY EVERYDAY
  202. DEFINE @ TIME
  203. DEFINE ~ SECURITY
  204. DEFINE FADE  DIM 0
  205. DEFINE BRIGHT DIM 100
  206. DEFINE SCHOOL_NIGHTS SUN MON TUE WED THU
  207.  
  208. #ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ
  209. #
  210. #      POWERFAIL RECOVERY       The following statements tell XA to IGNORE
  211. #                               the selected modules when sending X10 
  212. #                               commands as a result of requesting Powerfail
  213. #                               Recovery. You also have the ability to 
  214. #                               FORCE certain modules to a particular state
  215. #                               no matter what XA determines.
  216. #      
  217.  
  218. IGNORE COMPUTER                 # Ignore state during power-fail recovery
  219. IGNORE HOURLY_CHIME
  220. FORCE  DEHUMIDIFIER OFF         # Don't restart dehumidifier
  221.  
  222.  
  223. DISPLAY ON                      # End of XA.INI. Turn display back on.
  224.  
  225.